﻿using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using System.Diagnostics;

public class SpriteSheet
{
    protected Texture2D spriteSheet;
    protected int dimensionX;
    protected int dimensionY;
    protected int spriteWidth;
    protected int spriteHeight;

    public SpriteSheet(Texture2D texture, int spriteWidth,int spriteHeight, int dimensionX, int dimensionY)
    {
        this.spriteSheet = texture;
        this.spriteWidth = spriteWidth;
        this.spriteHeight = spriteHeight;
        this.dimensionX = dimensionX;
        this.dimensionY = dimensionY;
    }

    public Texture2D getSpriteSheet() { return spriteSheet; }
    public void setSpriteSheet(Texture2D spriteSheet) { this.spriteSheet = spriteSheet; }

    public int getDimensionX() { return dimensionX; }
    public void setDimensionX(int dimensionX) { this.dimensionX = dimensionX; }

    public int getDimensionY() { return dimensionY; }
    public void setDimensionY(int dimensionY) { this.dimensionY = dimensionY; }

    public int getSpriteWidth() { return spriteWidth; }
    public void setSpriteWidth(int spriteWidth) { this.spriteWidth = spriteWidth; }

    public int getSpriteHeight() { return spriteHeight; }
    public void setSpriteHeight(int spriteHeight) { this.spriteHeight = spriteHeight; }


}

